Skip to content

Conversation

@dmitry-stepanenko
Copy link
Contributor

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

In this PR #29753 there was a regression that now prevents corrent handling of external local dependencies. In my case the configuration for the build target looks like this "externalDependencies": ["/assets/js/*"]. This ensures that all scripts in the given folder are marked as external.

With the change in the PR mentioned above this no longer works. To bring back the old behavior I'm adding an extra condition to check whether provided dependency is indeed a package name or a relative/absolute path.

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@dmitry-stepanenko dmitry-stepanenko force-pushed the ds/skip-normalization-of-relative-externals branch from dbfa61a to 7a4fde9 Compare April 7, 2025 09:36
@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Apr 7, 2025
@dmitry-stepanenko dmitry-stepanenko force-pushed the ds/skip-normalization-of-relative-externals branch from 7a4fde9 to 3a7930d Compare April 7, 2025 10:33
Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your contribution.

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews action: merge The PR is ready for merge by the caretaker labels Apr 7, 2025
@dgp1130 dgp1130 merged commit fc0e05f into angular:main Apr 7, 2025
55 of 56 checks passed
@dgp1130
Copy link
Collaborator

dgp1130 commented Apr 7, 2025

The changes were merged into the following branches: main, 19.2.x

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants